<template>
    <div class="top">
        <div class="content">
            <div class="left" @click="goHome()">
                <img alt="" src="../../assets/images/logo.png">
                <p>尚医通 预约挂号统一平台</p>
            </div>
            <div class="right">
                <p class="help">帮助中心</p>
                <p class="login">登录/注册</p>
            </div>
        </div>
    </div>
</template>

<script lang="ts" setup>

import {useRouter} from "vue-router";

let $router = useRouter();

let goHome = ()=>{
  $router.push({path:"/home"})
}

</script>

<style lang="scss" scoped>
.top {
  position: fixed;
  z-index: 999;

  width: 100%;
  height: 70px;
  background: #ffffff;
  display: flex;
  justify-content: center;

  .content {
    width: 1200px;
    height: 70px;
    background: #ffffff;
    display: flex;
    justify-content: space-between;

    .left {
      display: flex;
      justify-content: center;
      align-items: center;

      img {
        width: 50px;
        height: 50px;
        margin-right: 10px;
      }

      p {
        font-size: 20px;
        color: #55a6fe;
      }
    }

    .right {
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 14px;
      color: #bbb;

      .help {
        margin-right: 10px;
      }
    }
  }
}


</style>
